﻿using System.ComponentModel.DataAnnotations;

namespace RndMaterialDisposalService.Models
{
    public class SmallBatchTrialReportFormModel
    {
        [Key]
        [Ganss.Excel.Ignore]
        public Guid? Key { get; set; }
        [Ganss.Excel.Column(1, "单号")]
        public string? ApplicationNumber { get; set; }
        [Ganss.Excel.Ignore]
        public string? ProcInstId { get; set; }
        [Ganss.Excel.Ignore]
        public string? ApplicantEmployeeNumber { get; set; }
        [Ganss.Excel.Ignore]
        public string? SubmitBy { get; set; }
        [Ganss.Excel.Column(2, "申请人")]
        public string? SubmitByStr => ApplicantEmployeeNumber?.Trim() + " " + SubmitBy?.Trim();
        [Ganss.Excel.Ignore]
        public string? ApplicantName { get; set; }
        [Ganss.Excel.Column(3, "提交时间")]
        public DateTime? ApplicantTime { get; set; }
        [Ganss.Excel.Column(4, "产品线")]
        public string? ProductLine { get; set; }
        [Ganss.Excel.Column(5, "新物料编码")]
        public string? NewMaterialCode { get; set; }
        [Ganss.Excel.Column(6, "原物料编码")]
        public string? RawMaterialCode { get; set; }
        [Ganss.Excel.Column(7, "试用来源")]
        public string? TrialSource { get; set; }
        [Ganss.Excel.Column(8, "SQE工程师")]
        public string? SQEEngineer { get; set; }
        [Ganss.Excel.Column(9, "当前环节")]
        public string CurrentStatus { get; set; }
        [Ganss.Excel.Ignore]
        public string? TrialBoardCabinetCode { get; set; }
        [Ganss.Excel.Ignore]
        public string? SingleBoardCabinetType { get; set; }
        [Ganss.Excel.Ignore]
        public string? UsingSingleBoardCabinetCount { get; set; }
    }
}
